﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace CinemaBookingWcfService
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IBookingSeats" in both code and config file together.
    [ServiceContract]
    public interface IBookingSeats
    {
        [OperationContract]
        bool CreateBooking(int numberOfSeats, int seatChoiceID, int screeningID, string name, int phone);
        [OperationContract]
        List<int> GetSeatsForBooking(int numberOfSeats, int seatChoiceID, int screeningID);
        [OperationContract]
        void CreateBookingThreads(int numberOfSeats, int seatChoiceID, int screeningID, string name, int phone);

    }
}
